package com.soundShape.vo
{
	import mx.collections.ArrayCollection;

	[Bindable]
	[Table(name="CUSTOMERS")]
	public class CustomerVO
	{
		public function CustomerVO()
		{
		}
		
		[Id]
		public var id:int;
		
		private var _name:String;
		
		private var _address:String;
		
		private var _email:String;
		
		private var _phone:String;
		
		private var _reference:String;
		
		private var _treatments:ArrayCollection;
		
		private var _credit:Number = 0.0;

		private var _employeeID:int;
		
		/* *********************** */

		public function get employeeID():int
		{
			return _employeeID;
		}

		public function set employeeID(value:int):void
		{
			_employeeID = value;
		}

		public function get credit():Number
		{
			return _credit;
		}

		[Column( name="credit" )]
		public function set credit(value:Number):void
		{
			_credit = value;
		}

		/* *********************** */
		public function get treatments():ArrayCollection
		{
			return _treatments;
		}
		
		[Column( name="treatments" )]
		public function set treatments(value:ArrayCollection):void
		{
			_treatments = value;
		}

		/* *********************** */
		public function get reference():String
		{
			return _reference;
		}

		[Column( name="reference" )]
		public function set reference(value:String):void
		{
			_reference = value;
		}

		/* *********************** */
		public function get phone():String
		{
			return _phone;
		}

		[Column( name="phone" )]
		public function set phone(value:String):void
		{
			_phone = value;
		}

		/* *********************** */
		public function get email():String
		{
			return _email;
		}

		[Column( name="email" )]
		public function set email(value:String):void
		{
			_email = value;
		}

		/* *********************** */
		public function get address():String
		{
			return _address;
		}

		[Column( name="address" )]
		public function set address(value:String):void
		{
			_address = value;
		}

		/* *********************** */
		public function get name():String
		{
			return _name;
		}

		[Column( name="name" )]
		public function set name(value:String):void
		{
			_name = value;
		}

	}
}